//
//  YSTextView.swift
//  新浪浪
//
//  Created by mac on 16/3/8.
//  Copyright © 2016年 mac. All rights reserved.
//

import UIKit

class YSTextView: UITextView {

   //注意类型--NSString
    var holderString: NSString?
    
    override func drawRect(rect: CGRect) {
        holderString?.drawAtPoint(CGPointMake(2, 8), withAttributes: [NSFontAttributeName: font!])
    }

}
